package com.maker.mcp.client.service;

import org.springframework.core.io.Resource;
import org.springframework.ai.document.Document;

import java.util.List;

public interface RagService {

    /**
     *
     * @param resource
     * @param fileName
     */
    public List<Document> loadText(Resource  resource, String fileName);

    public List<Document> doSearch(String question);
}
